<script setup>
import Versions from './components/Versions.vue'

// 获取Electron版本号 - 给主进程发送消息并异步等待结果
const submitData = () => {
    console.log('test')
}
</script>

<template>
<div >
  <Versions></Versions>

  <div >
    <label for="ipInput">IP地址:</label>  
    <input type="text" id="ipInput" v-model="ip" />  
  
    <label for="dateInput">日期:</label>  
    <input type="date" id="dateInput" v-model="date" />  
  
    <button @click="submitData">提交</button>
  </div>
</div>
</template>

<style lang="less">
@import './assets/css/styles.less';
</style>
